$ ./go
   Compiling match_nonvar v0.0.1 (file:///home/zazdxscf/build/1nonpkgs/rustLearnage/rust_oddities/match_nonvar)
     Running `rustc src/main.rs --crate-name match_nonvar --crate-type bin -g --out-dir /home/zazdxscf/build/1nonpkgs/rustLearnage/rust_oddities/match_nonvar/target/debug --emit=dep-info,link -L dependency=/home/zazdxscf/build/1nonpkgs/rustLearnage/rust_oddities/match_nonvar/target/debug -L dependency=/home/zazdxscf/build/1nonpkgs/rustLearnage/rust_oddities/match_nonvar/target/debug/deps`
src/main.rs:11:14: 11:33 error: no associated item named `from` found for type `std::ffi::os_str::OsString` in the current scope
src/main.rs:11         Some(OsString::from("1")) => 2, //odd error when using this (not knowing): src/main.rs:11:14: 11:33 error: no associated item named `from` found for type `std::ffi::os_str::OsString` in the current scope
                            ^~~~~~~~~~~~~~~~~~~
<std macros>:2:25: 2:56 note: in this expansion of format_args!
<std macros>:3:1: 3:54 note: in this expansion of print! (defined in <std macros>)
src/main.rs:10:5: 14:7 note: in this expansion of println! (defined in <std macros>)
src/main.rs:11:14: 11:33 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
src/main.rs:11:14: 11:33 help: candidate #1: use `core::convert::From`
error: aborting due to previous error
Could not compile `match_nonvar`.

Caused by:
  Process didn't exit successfully: `rustc src/main.rs --crate-name match_nonvar --crate-type bin -g --out-dir /home/zazdxscf/build/1nonpkgs/rustLearnage/rust_oddities/match_nonvar/target/debug --emit=dep-info,link -L dependency=/home/zazdxscf/build/1nonpkgs/rustLearnage/rust_oddities/match_nonvar/target/debug -L dependency=/home/zazdxscf/build/1nonpkgs/rustLearnage/rust_oddities/match_nonvar/target/debug/deps` (exit code: 101)

real	0m0.702s
user	0m0.563s
sys	0m0.133s

$ rustc -Vv
rustc 1.6.0-dev (9c2489be0 2015-11-01)
binary: rustc
commit-hash: 9c2489be0c27954a0afeb053e3997bb82cfb3d95
commit-date: 2015-11-01
host: x86_64-unknown-linux-gnu
release: 1.6.0-dev

